<!DOCTYPE html>
<html>
<head>
<?php echo $this->GetElement('title-description'); ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="<?php echo IMG; ?>favicon.ico" />
<!-- Bootstrap -->
<link href="<?php echo CSS; ?>bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" type="text/css" href="<?php echo CSSC ?>default.css" />
<link href="<?php echo CSS; ?>bootstrap-responsive.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="<?php echo JS; ?>jquery.min.js"></script>

<script type="text/javascript" src="<?php echo JSC; ?>custom.js"></script>
</head>
<body>
	<?php echo $this -> GetElement('main-menu'); ?>
    <div class="container-fluid"><!-- Contianer -->
    	<div class="row-fluid">    		
    		<?php 
    			$nav = $this -> GetNavigationName();
    			if(!empty($nav)){ 
    		?>
	    		<div class="span2">
	    			<?php eval("?>" . $this -> GetNavigation('left-menu')); ?>
	    		</div>
	    		<div class="span10 content">
	    			<?php 
	    				if(isset($page_title)){
							echo '
								<div class="row-fluid">
									<div class="span12">
										<h3 class="text-center page-title">' . $page_title . '</h3>
									</div>
								</div>
						';
						}
	    			?>	
	    			<?php eval("?>" . $this->GetContent()); ?>
	    		</div>
    		<?php }else{ ?>
    			<div class="span12 content">
    			<?php 
    				if(isset($page_title)){
						echo '
							<div class="row-fluid">
								<div class="span12">
									<h3 class="text-center page-title">' . $page_title . '</h3>
								</div>
							</div>
					';
					}
    			?>	
    			<?php eval("?>" . $this->GetContent()); ?>
    			</div>
    		<?php }?>
    	</div>
	</div><!-- //End Container -->
	<div class="container-fluid navbar-fixed-bottom">
		<div class="row-fluid text-right">
			<?php echo $this -> getElement('footer'); ?>
		</div>
	</div>
	<input type="hidden" id="base" value="<?php echo BASE_URL; ?>">
     <script src="<?php echo JS; ?>jquery.min.js"></script>
    <script src="<?php echo JS; ?>bootstrap.min.js"></script>    
</body>
</html>